﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
	namespace="Buaya.Model" assembly="Buaya.Core">
	
	<class name="Deduction" table="deductions">
		<id name="Id">
			<generator class="native"/>
		</id>
		<property name="Date" column="DeductionDate"/>
		<many-to-one name="Employee" class="Employee" column="EmployeeId"/>
		<many-to-one name="PayrollCode" class="PayrollCode" column="PayrollCodeId"/>
		<property name="Amount"/>
	</class>

</hibernate-mapping>
